package com.kfpanda.search.index;

import java.io.IOException;

import org.apache.lucene.index.FilterIndexReader;
import org.apache.lucene.index.IndexReader;

public class NormalIndexReader extends FilterIndexReader {
	private String field;

	public NormalIndexReader(IndexReader in, String field) {
		super(in);
		this.field = field;
	}

	@Override
	public byte[] norms(String field) throws IOException {
		return in.norms(this.field);
	}
}
